<template>
  <div class="bottombar">
    
    <van-tabbar v-model="active" route>  
      <van-tabbar-item icon="home-o" to="/index/home">首页</van-tabbar-item>
      <van-tabbar-item icon="hot-o" to="/index/boom">爆爆团</van-tabbar-item>
      <van-tabbar-item icon="balance-list-o" to="/index/order">订单</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/index/mine">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
import Vue from "vue";
import { Tabbar, TabbarItem } from "vant";

Vue.use(Tabbar);
Vue.use(TabbarItem);
export default {
     data() {
    return {
      active: 0,
    };
  },
};
</script>

<style>
</style>